/*
 * 创建人：于德龙 2017-09-14
 * 说明：build时定制筛选需要编译的脚本(安卓)
 */
var filter = {
    jsfiles: function() {
        let baseControllersJs = [
          'tiannianbao/controllers/application.js',
          'tiannianbao/controllers/forgot.js',
          'tiannianbao/controllers/user-login.js',
          'tiannianbao/controllers/reset-password.js',
           'tiannianbao/controllers/infinite-scroll.js',
            'tiannianbao/controllers/bind-customer.js',
            'tiannianbao/controllers/business.js',
            'tiannianbao/controllers/finish-service.js',
            'tiannianbao/controllers/business/mainpage.js'];
        let controllersJs = [
            'tiannianbao/controllers/business/mainpage/message.js',
            'tiannianbao/controllers/business/mainpage/cs-info.js',
            'tiannianbao/controllers/business/mainpage/customer-service-m',
            'tiannianbao/controllers/business/mainpage/task-square.js',
            'tiannianbao/controllers/business/mainpage/task-detail.js',
            'tiannianbao/controllers/business/mainpage/service-counter-apply.js',
            'tiannianbao/controllers/business/mainpage/business-mine.js',
            'tiannianbao/controllers/business/mainpage/change-password.js',
            'tiannianbao/controllers/business/mainpage/customer-search.js',
            'tiannianbao/controllers/business/mainpage/my-settings.js',
            'tiannianbao/controllers/business/mainpage/myinfo-item-edit.js',
            'tiannianbao/controllers/business/mainpage/self-choose.js',
            'tiannianbao/controllers/business/mainpage/fulfil-task.js',
            'tiannianbao/controllers/business/mainpage/belong-team-list.js',
            'tiannianbao/controllers/business/mainpage/customer-detail.js',
            'tiannianbao/controllers/business/mainpage/dynamics-detail.js',
            'tiannianbao/controllers/business/mainpage/look-message.js',
            'tiannianbao/controllers/business/mainpage/my-schedule.js',
            'tiannianbao/controllers/business/mainpage/service-care.js',
            'tiannianbao/controllers/business/mainpage/service-nurse.js',
            'tiannianbao/controllers/business/mainpage/customer-health.js',
            'tiannianbao/controllers/business/mainpage/health-mobile-detail.js',
            'tiannianbao/controllers/business/mainpage/customer-warning.js',
            'tiannianbao/controllers/business/mainpage/customer-warning-detail.js',
            'tiannianbao/controllers/business/mainpage/customer-point.js',
            'tiannianbao/controllers/business/mainpage/attendance-check.js',
            'tiannianbao/controllers/business/mainpage/employee-assessment.js',
            'tiannianbao/controllers/business/mainpage/connect-manage.js',
            'tiannianbao/controllers/business/mainpage/service-query.js',
            'tiannianbao/controllers/business/mainpage/consultation-management-mobile.js',
            'tiannianbao/controllers/business/mainpage/my-training-list.js',
            'tiannianbao/controllers/business/mainpage/my-training.js',
            'tiannianbao/controllers/business/mainpage/other-business.js',
            'tiannianbao/controllers/business/mainpage/employee-assessment-detail.js',
            'tiannianbao/controllers/business/mainpage/full-select.js',
            'tiannianbao/controllers/business/mainpage/my-training-type.js',
            'tiannianbao/controllers/business/mainpage/assessment-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/consultation-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/backvist-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/backvist-edit-mobile.js',
            'tiannianbao/controllers/business/mainpage/consultation-edit-mobile.js',
            'tiannianbao/controllers/business/mainpage/view-score.js',
            'tiannianbao/controllers/business/mainpage/view-score-detail.js',
            'tiannianbao/controllers/business/mainpage/pressure-sores-care.js',
            'tiannianbao/controllers/business/mainpage/evaluation-info.js',
            'tiannianbao/controllers/business/mainpage/evaluate-template.js',
            'tiannianbao/controllers/business/mainpage/result-management.js',
            'tiannianbao/controllers/business/mainpage/score-question-customer.js',
            'tiannianbao/controllers/business/mainpage/customer-dynamic-list.js',
            'tiannianbao/controllers/business/mainpage/sleep-customer-information.js',
            'tiannianbao/controllers/business/mainpage/workdelivery-self-mobile.js',
            'tiannianbao/controllers/business/mainpage/workdelivery-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/workdelivery-edit-mobile.js',
            'tiannianbao/controllers/business/mainpage/workdelivery-view-mobile.js',
            'tiannianbao/controllers/business/mainpage/workdelivery-view-detail.js',
            'tiannianbao/controllers/business/mainpage/risk-form-management.js',
            'tiannianbao/controllers/business/mainpage/risk-result-record.js',
            'tiannianbao/controllers/business/mainpage/record-detail.js',
            'tiannianbao/controllers/business/mainpage/record-detail-child.js',
            'tiannianbao/controllers/business/mainpage/record-child-detail.js',
            'tiannianbao/controllers/business/mainpage/customer-business.js',
            'tiannianbao/controllers/business/mainpage/evaluate-edit-mobile.js',
            'tiannianbao/controllers/business/mainpage/evaluate-template-edit.js',
            'tiannianbao/controllers/business/mainpage/forem-template-edit.js',
            'tiannianbao/controllers/business/mainpage/belong-team.js',
            'tiannianbao/controllers/business/mainpage/customer-hobby-detail.js',
            'tiannianbao/controllers/business/mainpage/family-information.js',
            'tiannianbao/controllers/business/mainpage/function-page.js',
            'tiannianbao/controllers/business/mainpage/service-order-looking.js',
            'tiannianbao/controllers/business/mainpage/service-order-dispatch.js',
            'tiannianbao/controllers/business/mainpage/dispatch-employee-select.js',
            'tiannianbao/controllers/business/mainpage/my-order-looking.js',
            'tiannianbao/controllers/business/mainpage/backvist-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/warning-task-detail.js',
            'tiannianbao/controllers/business/mainpage/customer-ordering.js',
            'tiannianbao/controllers/business/mainpage/customer-ordering-detail.js',
            'tiannianbao/controllers/business/mainpage/service-check-list-mobile.js',
            'tiannianbao/controllers/business/mainpage/service-check-detail-mobile.js',
            'tiannianbao/controllers/business/mainpage/service-check-select.js',
            'tiannianbao/controllers/business/mainpage/resthome-selection.js',
        ];
        let baseRoutesJs = [
          'tiannianbao/routes/application.js',
          'tiannianbao/blg-mix.js',
          'tiannianbao/routes/business/mainpage/blank-page*.js',
          'tiannianbao/routes/forgot.js',
          'tiannianbao/routes/user-login.js',
          'tiannianbao/routes/reset-password.js',
          'tiannianbao/routes/business.js',
          'tiannianbao/routes/business/base-business.js',
           'tiannianbao/routes/business/mainpage.js',
           'tiannianbao/routes/finish-service.js',
           'tiannianbao/routes/**/index.js'];
        let routesJs = [
          'tiannianbao/routes/business/mainpage/message.js',
          'tiannianbao/routes/business/mainpage/cs-info.js',
          'tiannianbao/routes/business/mainpage/customer-service-m',
          'tiannianbao/routes/business/mainpage/task-square.js',
          'tiannianbao/routes/business/mainpage/task-detail.js',
          'tiannianbao/routes/business/mainpage/service-counter-apply.js',
          'tiannianbao/routes/business/mainpage/business-mine.js',
          'tiannianbao/routes/business/mainpage/change-password.js',
          'tiannianbao/routes/business/mainpage/customer-search.js',
          'tiannianbao/routes/business/mainpage/my-settings.js',
          'tiannianbao/routes/business/mainpage/myinfo-item-edit.js',
          'tiannianbao/routes/business/mainpage/self-choose.js',
          'tiannianbao/routes/business/mainpage/fulfil-task.js',
          'tiannianbao/routes/business/mainpage/belong-team-list.js',
          'tiannianbao/routes/business/mainpage/customer-detail.js',
          'tiannianbao/routes/business/mainpage/dynamics-detail.js',
          'tiannianbao/routes/business/mainpage/look-message.js',
          'tiannianbao/routes/business/mainpage/my-schedule.js',
          'tiannianbao/routes/business/mainpage/service-care.js',
          'tiannianbao/routes/business/mainpage/service-nurse.js',
          'tiannianbao/routes/business/mainpage/customer-health.js',
          'tiannianbao/routes/business/mainpage/health-mobile-detail.js',
          'tiannianbao/routes/business/mainpage/customer-warning.js',
          'tiannianbao/routes/business/mainpage/customer-warning-detail.js',
          'tiannianbao/routes/business/mainpage/customer-point.js',
          'tiannianbao/routes/business/mainpage/attendance-check.js',
          'tiannianbao/routes/business/mainpage/employee-assessment.js',
          'tiannianbao/routes/business/mainpage/connect-manage.js',
          'tiannianbao/routes/business/mainpage/service-query.js',
          'tiannianbao/routes/business/mainpage/consultation-management-mobile.js',
          'tiannianbao/routes/business/mainpage/my-training-list.js',
          'tiannianbao/routes/business/mainpage/my-training.js',
          'tiannianbao/routes/business/mainpage/other-business.js',
          'tiannianbao/routes/business/mainpage/employee-assessment-detail.js',
          'tiannianbao/routes/business/mainpage/full-select.js',
          'tiannianbao/routes/business/mainpage/my-training-type.js',
          'tiannianbao/routes/business/mainpage/assessment-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/consultation-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/backvist-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/backvist-edit-mobile.js',
          'tiannianbao/routes/business/mainpage/consultation-edit-mobile.js',
          'tiannianbao/routes/business/mainpage/view-score.js',
          'tiannianbao/routes/business/mainpage/view-score-detail.js',
          'tiannianbao/routes/business/mainpage/pressure-sores-care.js',
          'tiannianbao/routes/business/mainpage/evaluation-info.js',
          'tiannianbao/routes/business/mainpage/evaluate-template.js',
          'tiannianbao/routes/business/mainpage/result-management.js',
          'tiannianbao/routes/business/mainpage/score-question-customer.js',
          'tiannianbao/routes/business/mainpage/customer-dynamic-list.js',
          'tiannianbao/routes/business/mainpage/sleep-customer-information.js',
          'tiannianbao/routes/business/mainpage/workdelivery-self-mobile.js',
          'tiannianbao/routes/business/mainpage/workdelivery-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/workdelivery-edit-mobile.js',
          'tiannianbao/routes/business/mainpage/workdelivery-view-mobile.js',
          'tiannianbao/routes/business/mainpage/workdelivery-view-detail.js',
          'tiannianbao/routes/business/mainpage/risk-form-management.js',
          'tiannianbao/routes/business/mainpage/risk-result-record.js',
          'tiannianbao/routes/business/mainpage/record-detail.js',
          'tiannianbao/routes/business/mainpage/record-detail-child.js',
          'tiannianbao/routes/business/mainpage/record-child-detail.js',
          'tiannianbao/routes/business/mainpage/customer-business.js',
          'tiannianbao/routes/business/mainpage/evaluate-edit-mobile.js',
          'tiannianbao/routes/business/mainpage/evaluate-template-edit.js',
          'tiannianbao/routes/business/mainpage/forem-template-edit.js',
          'tiannianbao/routes/business/mainpage/belong-team.js',
          'tiannianbao/routes/business/mainpage/customer-hobby-detail.js',
          'tiannianbao/routes/business/mainpage/family-information.js',
          'tiannianbao/routes/business/mainpage/function-page.js',
          'tiannianbao/routes/business/mainpage/service-order-looking.js',
          'tiannianbao/routes/business/mainpage/service-order-dispatch.js',
          'tiannianbao/routes/business/mainpage/dispatch-employee-select.js',
          'tiannianbao/routes/business/mainpage/my-order-looking.js',
          'tiannianbao/routes/business/mainpage/backvist-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/warning-task-detail.js',
          'tiannianbao/routes/business/mainpage/customer-ordering.js',
          'tiannianbao/routes/business/mainpage/customer-ordering-detail.js',
          'tiannianbao/routes/business/mainpage/service-check-list-mobile.js',
          'tiannianbao/routes/business/mainpage/service-check-detail-mobile.js',
          'tiannianbao/routes/business/mainpage/service-check-select.js',
          'tiannianbao/routes/business/mainpage/resthome-selection.js',
        ];
        let baseComponentsJs = [
            'tiannianbao/components/bootstrap-switch.js',
            'tiannianbao/components/bs-switch.js',
            'tiannianbao/components/foot-bar.js',
            'tiannianbao/components/infinity-loader.js',
            'tiannianbao/components/ui/base-ui-item.js',
            'tiannianbao/components/ui/footer*.js',
            'tiannianbao/components/ui/*-button.js',
            'tiannianbao/components/ui/button-group.js',
            'tiannianbao/components/ui/img-*.js',
            'tiannianbao/components/ui/container/*.js'
        ];
        let componentsJs = [
          'tiannianbao/components/ui/mobile/*.js',
          'tiannianbao/components/callbusi/mobile/header-bar.js',
        'tiannianbao/components/callbusi/mobile/*.js',
        'tiannianbao/components/callbusi/customer-selecter.js',
      'tiannianbao/components/callbusi/customer-select-list.js',
        'tiannianbao/components/callbusi/right-bar-letter.js',
        'tiannianbao/components/callbusi/select-bar.js',
        'tiannianbao/components/callbusi/customer-picker.js',
        'tiannianbao/components/callbusi/mobile/timed-task.js',
        'tiannianbao/components/callbusi/mobile/any-timed-task.js',
        'tiannianbao/components/bs-modal*.js',
        'tiannianbao/components/bs-form-element.js',
        'tiannianbao/components/hack/bs-form-element.js',
        'tiannianbao/components/form-element/*.js',
        'tiannianbao/components/bs-form.js',
        'tiannianbao/components/ember-wormhole.js',
        'tiannianbao/components/ui/addon/bs-modal*.js'];
        let componentsBusiJs = [];
        let jsfiles = baseControllersJs.concat(controllersJs, baseRoutesJs, routesJs, baseComponentsJs, componentsJs, componentsBusiJs);
        let hbsfiles = this.hbsfiles();
        let commonfiles = this.commonfiles();
        return commonfiles.concat(jsfiles, hbsfiles);
    },
    commonfiles: function() {
        let projJs = [
            'tiannianbao/adapters/**/*.js',
            'tiannianbao/addon/**/*.js',
            'tiannianbao/helpers/**/*.js',
            'tiannianbao/initializers/**/*.js',
            'tiannianbao/instance-initializers/**/*.js',
            'tiannianbao/models/**/*.js',
            'tiannianbao/serializers/**/*.js',
            'tiannianbao/services/**/*.js',
            'tiannianbao/ember-gestures/**/*.js',
            'tiannianbao/utils/**/*.js',
            'tiannianbao/validations/**/*.js'
        ];
        let appJs = ['tiannianbao/app.js', 'tiannianbao/router.js', 'tiannianbao/breakpoints.js', 'tiannianbao/transitions.js', 'tiannianbao/event_dispatcher.js'];
        return projJs.concat(appJs);
    },
    hbsfiles: function() {
        let baseTemplatesJs = ['tiannianbao/templates/*.js', 'tiannianbao/templates/business/*.js'];
        let templatesJs = [
          'tiannianbao/templates/business/mainpage/blank-page*.js',
          'tiannianbao/templates/business/mainpage/message.js',
          'tiannianbao/templates/business/mainpage/cs-info.js',
          'tiannianbao/templates/business/mainpage/customer-service-m',
          'tiannianbao/templates/business/mainpage/task-square.js',
          'tiannianbao/templates/business/mainpage/task-detail.js',
          'tiannianbao/templates/business/mainpage/service-counter-apply.js',
          'tiannianbao/templates/business/mainpage/business-mine.js',
          'tiannianbao/templates/business/mainpage/change-password.js',
          'tiannianbao/templates/business/mainpage/customer-search.js',
          'tiannianbao/templates/business/mainpage/my-settings.js',
          'tiannianbao/templates/business/mainpage/myinfo-item-edit.js',
          'tiannianbao/templates/business/mainpage/self-choose.js',
          'tiannianbao/templates/business/mainpage/fulfil-task.js',
          'tiannianbao/templates/business/mainpage/belong-team-list.js',
          'tiannianbao/templates/business/mainpage/customer-detail.js',
          'tiannianbao/templates/business/mainpage/dynamics-detail.js',
          'tiannianbao/templates/business/mainpage/look-message.js',
          'tiannianbao/templates/business/mainpage/my-schedule.js',
          'tiannianbao/templates/business/mainpage/service-care.js',
          'tiannianbao/templates/business/mainpage/service-nurse.js',
          'tiannianbao/templates/business/mainpage/customer-health.js',
          'tiannianbao/templates/business/mainpage/health-mobile-detail.js',
          'tiannianbao/templates/business/mainpage/customer-warning.js',
          'tiannianbao/templates/business/mainpage/customer-warning-detail.js',
          'tiannianbao/templates/business/mainpage/customer-point.js',
          'tiannianbao/templates/business/mainpage/attendance-check.js',
          'tiannianbao/templates/business/mainpage/employee-assessment.js',
          'tiannianbao/templates/business/mainpage/connect-manage.js',
          'tiannianbao/templates/business/mainpage/service-query.js',
          'tiannianbao/templates/business/mainpage/consultation-management-mobile.js',
          'tiannianbao/templates/business/mainpage/my-training-list.js',
          'tiannianbao/templates/business/mainpage/my-training.js',
          'tiannianbao/templates/business/mainpage/other-business.js',
          'tiannianbao/templates/business/mainpage/employee-assessment-detail.js',
          'tiannianbao/templates/business/mainpage/full-select.js',
          'tiannianbao/templates/business/mainpage/my-training-type.js',
          'tiannianbao/templates/business/mainpage/assessment-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/consultation-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/backvist-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/backvist-edit-mobile.js',
          'tiannianbao/templates/business/mainpage/consultation-edit-mobile.js',
          'tiannianbao/templates/business/mainpage/view-score.js',
          'tiannianbao/templates/business/mainpage/view-score-detail.js',
          'tiannianbao/templates/business/mainpage/pressure-sores-care.js',
          'tiannianbao/templates/business/mainpage/evaluation-info.js',
          'tiannianbao/templates/business/mainpage/evaluate-template.js',
          'tiannianbao/templates/business/mainpage/result-management.js',
          'tiannianbao/templates/business/mainpage/score-question-customer.js',
          'tiannianbao/templates/business/mainpage/customer-dynamic-list.js',
          'tiannianbao/templates/business/mainpage/sleep-customer-information.js',
          'tiannianbao/templates/business/mainpage/workdelivery-self-mobile.js',
          'tiannianbao/templates/business/mainpage/workdelivery-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/workdelivery-edit-mobile.js',
          'tiannianbao/templates/business/mainpage/workdelivery-view-mobile.js',
          'tiannianbao/templates/business/mainpage/workdelivery-view-detail.js',
          'tiannianbao/templates/business/mainpage/risk-form-management.js',
          'tiannianbao/templates/business/mainpage/risk-result-record.js',
          'tiannianbao/templates/business/mainpage/record-detail.js',
          'tiannianbao/templates/business/mainpage/record-detail-child.js',
          'tiannianbao/templates/business/mainpage/record-child-detail.js',
          'tiannianbao/templates/business/mainpage/customer-business.js',
          'tiannianbao/templates/business/mainpage/evaluate-edit-mobile.js',
          'tiannianbao/templates/business/mainpage/evaluate-template-edit.js',
          'tiannianbao/templates/business/mainpage/forem-template-edit.js',
          'tiannianbao/templates/business/mainpage/belong-team.js',
          'tiannianbao/templates/business/mainpage/customer-hobby-detail.js',
          'tiannianbao/templates/business/mainpage/family-information.js',
          'tiannianbao/templates/business/mainpage/function-page.js',
          'tiannianbao/templates/business/mainpage/service-order-looking.js',
          'tiannianbao/templates/business/mainpage/service-order-dispatch.js',
          'tiannianbao/templates/business/mainpage/dispatch-employee-select.js',
          'tiannianbao/templates/business/mainpage/my-order-looking.js',
          'tiannianbao/templates/business/mainpage/backvist-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/warning-task-detail.js',
          'tiannianbao/templates/business/mainpage/customer-ordering.js',
          'tiannianbao/templates/business/mainpage/customer-ordering-detail.js',
          'tiannianbao/templates/business/mainpage/service-check-list-mobile.js',
          'tiannianbao/templates/business/mainpage/service-check-detail-mobile.js',
          'tiannianbao/templates/business/mainpage/service-check-select.js',
          'tiannianbao/templates/business/mainpage/resthome-selection.js',

        ];
        let baseComponentsJs = [
            'tiannianbao/templates/components/foot-bar.js',
            'tiannianbao/templates/components/infinity-loader.js',
            'tiannianbao/templates/components/ui/base-ui-item.js',
            'tiannianbao/templates/components/ui/footer*.js',
            'tiannianbao/templates/components/ui/*-button.js',
            'tiannianbao/templates/components/ui/button-group.js',
            'tiannianbao/templates/components/ui/img-*.js',
            'tiannianbao/templates/components/ui/container/*.js',
            'tiannianbao/templates/components/callbusi/mobile/*.js',
        ];
        let componentsJs = [
          'tiannianbao/templates/components/ui/mobile/*.js',
        'tiannianbao/templates/components/ui/addon/bs-modal*.js',
        'tiannianbao/templates/components/callbusi/mobile/header-bar.js',
        'tiannianbao/templates/components/callbusi/customer-selecter.js',
        'tiannianbao/templates/components/callbusi/customer-select-list.js',
        'tiannianbao/templates/components/callbusi/mobile/timed-task.js',
        'tiannianbao/templates/components/callbusi/mobile/any-timed-task.js',
        'tiannianbao/templates/components/callbusi/select-bar.js',
        'tiannianbao/templates/components/callbusi/customer-picker.js',
        'tiannianbao/templates/components/callbusi/right-bar-letter.js',
        'tiannianbao/templates/components/bs-modal*.js',
        'tiannianbao/templates/components/bs-form-element.js',
        'tiannianbao/templates/components/hack/bs-form-element.js',
        'tiannianbao/templates/components/bs-form.js',
        'tiannianbao/templates/components/form-element/vertical/default.js',
        'tiannianbao/templates/components/form-element/*.js',
      ];
        let componentsBusiJs = ['tiannianbao/templates/components/callbusi/mobile/*.js'];
        return baseTemplatesJs.concat(templatesJs, baseComponentsJs, componentsJs, componentsBusiJs);
    },
    exfiles: function() {
        let exjsfiles = ['tiannianbao/routes/business/pagination.js', 'tiannianbao/addon/tableExport.js', 'tiannianbao/addon/ember-cli-pagination/**', 'tiannianbao/addon/ember-infinity/**'];
        return exjsfiles;
    }
};
module.exports = filter;
